package com.hx.reporter.domain;

import com.hx.common.annotation.Excel;
import com.hx.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 好友申请对象 talk_friend_apply
 * 
 * @author ${author}
 * @date 2023-05-28
 */
public class FriendApply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 申请者id */
    @Excel(name = "申请者id")
    private String senderId;

    /** 接受者id */
    @Excel(name = "接受者id")
    private String receiverId;

    /** 0，待处理，1，已同意，2，已拒绝 */
    @Excel(name = "0，待处理，1，已同意，2，已拒绝")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSenderId(String senderId) 
    {
        this.senderId = senderId;
    }

    public String getSenderId() 
    {
        return senderId;
    }
    public void setReceiverId(String receiverId) 
    {
        this.receiverId = receiverId;
    }

    public String getReceiverId() 
    {
        return receiverId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("senderId", getSenderId())
            .append("receiverId", getReceiverId())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
